Adaptive cataclysms in genetic algorithms

ABSTRACT

In some embodiments, a computerized method may comprise: determining, by an adaptive cataclysm controller operating on one or more processors, that the population of candidate solutions has converged during a run of the genetic algorithm; determining, by the adaptive cataclysm controller operating on the one or more processors, a cause for convergence of the population based, at least in part, on an analysis of the run of the genetic algorithm; selecting, by the adaptive cataclysm controller operating on the one or more processors, a first cataclysm strategy of a plurality of different cataclysm strategies based, at least in part, on one of the cause for the convergence and a history of the run of the genetic algorithm; and simulating, by the adaptive cataclysm controller operating on the one or more processors, a cataclysm based on the first cataclysm strategy.

This application is a Continuation of and claims the priority benefit ofU.S. application Ser. No. 14/041,161 filed Sep. 30, 2013.

BACKGROUND

Embodiments of the inventive subject matter generally relate to thefield of computing, and, more particularly, to metaheuristicoptimization.

Software tools employ metaheuristic optimization algorithms to solveoptimization problems. Examples of metaheuristic optimization algorithmsinclude evolutionary algorithms (e.g., genetic algorithm, differentialevolution), ant colony optimization algorithms, simulated annealingalgorithms, etc.

Evolutionary algorithms use techniques loosely based on Darwinianevolution and biological mechanisms to evolve solutions to designproblems. A software tool that implements an evolutionary algorithmstarts with a randomly generated population of solutions, anditeratively uses recombination, crossover, mutation, and the Darwinianprinciples of natural selection to create new, more fit solutions insuccessive generations. Evolutionary algorithms have been deployed inmany aspects of research and development, and have generatedhuman-competitive solutions to a wide range of problems.

SUMMARY

Some embodiments include a computerized method for performing a geneticalgorithm that evolves a population of candidate solutions to solve anoptimization problem. In some embodiments, the method includes maycomprise determining, by an adaptive cataclysm controller operating onone or more processors, that the population of candidate solutions hasconverged during a run of the genetic algorithm. The method can alsoinclude determining, by the adaptive cataclysm controller operating onthe one or more processors, a cause for convergence of the populationbased, at least in part, on an analysis of the run of the geneticalgorithm. The method can also include selecting, by the adaptivecataclysm controller operating on the one or more processors, a firstcataclysm strategy of a plurality of different cataclysm strategiesbased, at least in part, on one of the cause for the convergence and ahistory of the run of the genetic algorithm. The method can also includesimulating, by the adaptive cataclysm controller operating on the one ormore processors, a cataclysm based on the first cataclysm strategy.

BRIEF DESCRIPTION OF THE DRAWINGS

The present embodiments may be better understood, and numerous objects,features, and advantages made apparent to those skilled in the art byreferencing the accompanying drawings.

FIG. 1 depicts example operation of an adaptive cataclysm controller.

FIG. 2 depicts a flowchart of example operations for implementing acataclysm controller.

FIG. 3 depicts a flowchart of example operations for selecting one of aplurality of cataclysm strategies and configuring the selected strategybased, at least in part, on the population convergence cause andsimulation history.

FIG. 4 depicts an example computer system including an adaptivecataclysm controller.

DESCRIPTION OF EMBODIMENT(S)

The description that follows includes exemplary systems, methods,techniques, instruction sequences and computer program products thatembody techniques of the present inventive subject matter. However, itis understood that the described embodiments may be practiced withoutthese specific details. For instance, although examples refer to geneticalgorithm simulations, some embodiments may utilize other types ofevolutionary algorithms (e.g., genetic programming, evolutionaryprogramming, evolution strategy, etc.) suited to fit a particular typeof problem being solved. Furthermore, some embodiments may also utilizeadditional forms of metaheuristic optimization strategies. In otherinstances, well-known instruction instances, protocols, structures andtechniques have not been shown in detail in order not to obfuscate thedescription.

Terminology

Literature about evolutionary computing uses a large variety ofterminology. In some cases, terms are used ambiguously. A “candidatesolution” can be program code, a data structure of actual parameters(e.g., vector or array of actual parameters), or both. In thisdescription, a candidate solution is referred to as an individual.Although some examples of the structure of an individual are provided,the examples are not intended to limit the structure to that described,but are merely provided to help describe the inventive subject matter.The inventive subject matter can be adapted to work with individuals ofany underlying structure.

Genetic algorithm literature sometimes uses the terms “population” and“generation” ambiguously. A software tool or computer program thatimplements an evolutionary algorithm to solve an optimization problemiteratively creates individuals, computes fitness values for theindividuals, and evaluates the individuals to determine whether a nextiteration should begin. The individuals created at a particulariteration are referred to as a generation or a population.

Genetic algorithm literature sometimes uses the terms “mass extinction,”“catastrophe,” and “cataclysms” ambiguously. Other terms may also beused to describe the same concept. This description will use the term“cataclysm.” A cataclysm occurs when a large portion of the populationis not carried over from one generation to the next. A set of one ormore individuals, called survivors, is carried over to the nextgeneration and combined with a set of other individuals. The set ofother individuals can be populated in various ways. However, the set ofother individuals commonly consists of randomly generated individuals.Furthermore, while a catastrophe can include a plurality of survivors,this description will refer to a single survivor. However, the inventivesubject matter is not limited to a single survivor. Furthermore, thesurvivor can be any individual from the previous generation, but iscommonly the fittest individual. Although the description assumes thatthe survivor is the fittest individual from the previous generation, theinventive subject matter is not so limited.

An evolutionary simulation may operate on a single deme model or amulti-deme model. A deme refers to a local population unit. In amulti-deme model, a population of individuals is separated intosub-populations. Individuals do not mix between demes of sub-populationsunless migration is implemented. When separated into sub-populations,the term “generation” typically refers to all of the sub-populations inthat generation. The context of this discussion is, generally, apopulation within a single deme model or a sub-population within amulti-deme model. The term “population” will be used, and when referringto another sub-population within the multi-deme model, the term “foreignpopulation” will be used.

In the descriptions herein, the use of a genetic algorithm to search fora solution to a problem is referred to as a “simulation” because thegenetic algorithm is, to a certain degree, simulating the evolution of apopulation. The term “run” can also be used to describe the use of agenetic algorithm, or other metaheuristic optimization algorithm, tofind solutions for a problem.

Overview

A genetic algorithm simulates the evolution of a population. Eachindividual within the population is a representation of a solution to aproblem. Each individual includes a set of genes, where each gene, or acombination of genes, represents a particular aspect of the particularsolution represented by the individual. To create the next generation ofthe population, the individuals are “bred.” Breeding is simulated usingoperations that are similar to those found in biology, such as combininggenes from two different individuals and randomly mutating genes. Eachindividual in a generation is tested for “fitness,” i.e., whichindividuals (solutions) perform the best based on a set of criteria orthresholds. The fitter individuals are then given a better chance tobreed. Thus, each generation, in theory, begets better solutions untilan optimal solution is found.

However, in practice, populations can converge on one solution that isnot the most optimal. These convergences are called “local optima.” Aconvergence occurs when one particular set of genes performs well enoughthat the set of genes are replicated throughout the population.Continued breeding of the population may not produce fitter individualsdue to the lack of genetic diversity among the individuals.

Cataclysms are used to overcome the convergence of a population. Acataclysm is a mass extinction event in which only a small portion ofthe population from a first generation is carried over to the nextgeneration (the survivors), and the rest of the population is replacedwith another set of individuals. In other words, a large portion of thepopulation in the first generation is discarded (or becomes extinct).For example, a cataclysm can be implemented to carry the best performingindividual, or survivor, over to the next generation, while replacingthe rest of the population with individuals containing randomlyselected/created sets of genes.

Implementing a cataclysm by carrying a survivor over to the nextgeneration and replacing the rest of the population with randomindividuals can be viewed as a default strategy for spurring moreprogress. However, it can be the case that this strategy does notproduce a fitter individual, whether after the first use or afterrepeated applications. This may be intuitive, as a survivor that hasdeveloped over many generations may be so much fitter than a set ofrandomized individuals that the survivor quickly overtakes the rest ofthe population.

However, various cataclysm strategies exist that can permit furtherprogress. Additionally, the various cataclysm strategies can beadjusted, permitting each cataclysm strategy to be used for morecataclysms. Thus, an adaptive cataclysm controller can be designed toanalyze a population and determine whether the population has converged,Further, the adaptive cataclysm controller can be designed to select adifferent cataclysm strategy or adjust the current cataclysm strategy tocontinue generating fitter individuals.

Adaptive Cataclysm Controller Illustrations

FIG. 1 depicts example operation of an adaptive cataclysm controller.FIG. 1 depicts an adaptive cataclysm controller 100 (hereinafter“cataclysm controller”), including a convergence analysis unit 104 and acataclysm strategy unit 106. The cataclysm controller 100 also includesan example set of cataclysm modules, including a quarantining cataclysmmodule 110, a migration cataclysm module 112, a seeding cataclysm module114 and a biasing cataclysm module 116.

Also depicted is a representative population 102, which can berepresented by data that is accessible to the cataclysm controller 100.The population 102 contains a set of n individuals, represented byarrays 102 a, 102 b and 102 n. Each array represents the genes of theindividual. Each individual can also be associated with other metadata,such as an indication of the individual's fitness and tokens.

At stage A, the convergence analysis unit 104 analyzes the population102 to determine whether the population 102 has converged. Populationconvergence can be defined in a variety of ways. However, the conceptunderlying determining population convergence is determining when thepopulation 102 is in a state that makes it unlikely that subsequentpopulations will produce fitter individuals. In some implementations, itcan be impossible to determine that a population will not, to acertainty, produce fitter individuals. For example, in some geneticalgorithm implementations, it can be possible to reach a state whereeach individual in the population 102 has the exact same set of genes,thus preventing any further evolution of the population 102. However,some genetic algorithm implementations implement random geneticmutations or similar functionality. Random mutations create thepossibility that a particular random mutation to an individual within aconverged population will subsequently spawn better individuals. Thus,in some implementations, it is possible that a converged population willnot remain converged. Thus, determining whether a population hasconverged or not means defining conditions in which the likelihood offurther progress is low enough that additional manipulation of thesimulation is more efficient.

Population convergence can thus be defined differently depending on theimplementation, optimization problem, etc. For example, experience,testing, or intuition may lead to defining convergence as being whenninety-nine percent of the population 102 has the same genes. In somecases, convergence may be defined as when ninety percent of thepopulation 102 has similar genes, where “similar genes” can also bevariously defined. For example, determining that two individuals have“similar genes” may be based on a particular subset of genes that impactan individual's fitness instead of the entire set of genes. In otherwords, if an individual has a particular subset of genes, the rest ofthe individual's genes can be any combination without impacting thefitness of the individual. In such scenarios, convergence might bedefined as when ninety percent of the population 102 has the particularsubset of genes that impacts the individual's fitness. Thus, thedefinition of a population convergence can be a configurable value, setof values or an otherwise variable definition. The definition can changebetween implementations, based on the underlying problem or even betweendifferent simulations of the same problem.

At stage B, the convergence analysis unit 104 determines why thepopulation 102 converged if, at stage A, the convergence analysis unit104 determines that the population 102 meets the definition ofconverged. Generally, the reason why the population 102 converged ismost important when external manipulation may have impacted theconvergence. In other words, in some implementations, if the initialpopulation was randomly generated, and no external manipulation wasinvolved (as discussed below), the convergence analysis unit 104 mayskip stage B for the initial population convergence.

The ultimate goal of a simulation using a genetic algorithm is to havethe population 102 converge to the optimum solution for a problem.However, it is generally never known whether the population 102 hasconverged to the optimum solution or merely converged to a localoptimum. Thus, the goal of a simulation using a genetic algorithm, inpractice, is to have each convergence result in a fitter individual thanthe previous convergence. By determining what caused a particularconvergence, techniques can be applied to mitigate the causes leading toa convergence.

One technique the convergence analysis unit 104 can use to determine whythe population 102 converged is the use of tokens. A token is similar toa gene, but is not contained in an individual's set of genes. It is anexample of additional metadata that can be associated with anindividual, as described above. A token serves as a marker, similar to agene, but is not subject to random mutation, and can have specific rulesdefined to govern inheritance.

To assist in determining the cause of a population convergence, a tokencan be associated with an individual or set of individuals. For example,a token can be associated with a survivor. Any offspring of anindividual that is associated with a token also becomes associated withthe token. Thus, the token indicates all descendants from theindividual(s) that was/were originally associated with the token. Duringthe analysis, if the convergence analysis unit 104 determines that alarge portion of the population 102 has the token associated with thesurvivor, the convergence analysis unit 104 has determined that thesurvivor took over the rest of the population 102.

The cause of a population convergence can be determined without tokensas well. For example, the convergence analysis unit 104 can analyze thesimulation history to determine the cause of the convergence. Theconvergence analysis unit 104 can determine that a survivor overtook therest of the population 102 by comparing the genes of the survivor withthose of the individuals in the converged population. If the genes ofthe converged population are similar enough to the survivor, theconvergence analysis unit 104 can determine that the survivor took overthe population 102. Additional analysis, such as analyzing theindividual generations can also be used to assist in determining thecause behind a convergence of the population 102.

At stage C, the cataclysm strategy unit 106 determines the cataclysmstrategy based on the number of times the population 102 has converged(hereinafter “convergence count”), convergence rate and cause of thepopulation convergence.

At the most basic, knowing the convergence count allows the cataclysmstrategy unit 106 to determine whether or not the current convergence ofthe population 102 is the first convergence or not. When the population102 converges for the first time, the cataclysm strategy unit 106selects a default cataclysm strategy. The cataclysm strategy selected asthe default strategy can vary between simulations, either being selectedby a user or chosen dynamically based on information supplied by theconvergence analysis unit 104 or other components.

The convergence count is also useful to determine whether theapplication should switch to another cataclysm strategy or not. Forexample, the convergence count can be reset whenever the cataclysmstrategy is changed, or a second convergence count used to count thenumber of convergences since the last cataclysm strategy change.Regardless of the particular implementation, tracking the convergencecount allows the cataclysm strategy unit 106 to determine whether toadjust the current cataclysm strategy or switch to another cataclysmstrategy. For example, if the convergence rate is high, as discussedbelow, the cataclysm strategy unit 106 may determine that a change needsto be made to the cataclysm strategy in order to continue makingprogress. However, if the current cataclysm strategy has only beenselected for a few cataclysms, the cataclysm strategy unit 106 maydetermine that the parameters of the current cataclysm strategy shouldmerely be adjusted, as opposed to changing to a completely differentcataclysm strategy.

The cataclysm strategy unit 106 can use the convergence rate todetermine whether the cataclysm strategy should be changed. Theconvergence rate, for the purposes of this discussion, is defined as thenumber of generations prior to the population 102 converging. However,it can be defined in different ways. For example, if convergence isdefined as occurring when five generations have passed in which noprogress has been made, the convergence rate can be defined as eitherthe number of generations before the definition of convergence was metor the number of generations before the progress stalled.

A pattern that can emerge upon repeating a cataclysm strategy is thateach subsequent convergence occurs after fewer generations. For example,after an initial cataclysm, the simulation may run for twentygenerations before converging; after a second cataclysm, the simulationmay run for ten generations before converging; after a third cataclysm,the simulation may run for five generations before converging, etc. Thegoal of the cataclysm strategy unit 106 is to use information from theconvergence analysis unit 104 and/or other components to modify thecataclysm strategy to allow the simulation to progress further betweenconvergences.

In some scenarios, the cataclysm strategy unit 106 adjusts the currentcataclysm strategy in an attempt to prolong the progress. For example,if the current cataclysm strategy has only been selected for a smallnumber of cataclysms, the simulation may miss progress by prematurelychanging to a new cataclysm strategy. However, in some scenarios, thecataclysm strategy unit 106 does change the cataclysm strategy entirely.For example, if the current cataclysm strategy has progressed throughseveral adjustments, the cataclysm strategy unit 106 may determine thatchanging to a new cataclysm strategy will provide greater progress thancontinued updates to the current strategy.

One cataclysm strategy that can be selected by the cataclysm strategyunit 106 is referred to as “quarantining.” Instead of generating a newpopulation of random individuals, and inserting a survivor into the newpopulation, the survivor is “quarantined” for a number of generations.After the number of quarantine generations has passed, the survivor isinserted into the population 102. By quarantining the survivor, the new,randomly generated population has the opportunity to evolve and generatestronger individuals. Thus, instead of the survivor rapidly taking overthe rest of the population 102, the population 102 has a greateropportunity to produce stronger individuals that are more capable ofcompeting with the survivor. The greater the competition between theindividuals of the population 102, the more likely a better individualwill be produced.

One adjustment that can be made to the quarantining cataclysm strategyis to the number of generations with which to quarantine the survivor(hereinafter “quarantine period”). Generally, the default quarantineperiod begins as fewer generations and increases as determined by thecataclysm strategy unit 106. However, implementations can vary. Forexample, the quarantine period can be adjusted up or down, as determinedby the cataclysm strategy unit 106. Furthermore, the default quarantineperiod can be different between implementations, and can even beadjusted by the cataclysm strategy unit 106.

Each time the cataclysm strategy unit 106 determines that thequarantining cataclysm strategy should be updated, the cataclysmstrategy unit 106 can increase the quarantining period by a certainamount. Additionally, the quarantining period can increase in anon-linear fashion, such as increasing the quarantining period by anamount greater than the previous increase. The cataclysm strategy unit106 can utilize other techniques as well. For example, the cataclysmstrategy unit 106 can use the history of previous adjustments todetermine the next number of generations to increase the quarantiningby. For example, if an increase to the quarantine period of twogenerations yields ten generations of progress, the next increase to thequarantine period may be only three generations. However, if an increaseto the quarantine period of two generations yielded three generations ofprogress, the next increase to the quarantine period may be fivegenerations. Additionally, the cataclysm strategy unit 106 can use aquarantine period based on a particular level of fitness. For example,the cataclysm strategy unit 106 can designate that the quarantine shouldcontinue until the average fitness of the population 102 is eightypercent of the fitness of the survivor.

A second cataclysm strategy that can be selected by the cataclysmstrategy unit 106 is utilizing “migration” after a cataclysm event.Migration is possible when the population 102 is part of a multi-demesimulation. Migration is simulated by moving one or more individualsfrom another population (hereinafter “foreign population”) into the“local” population 102. Generally, the cataclysm occurs as before,without quarantining. Thus, the survivor is added to a new population ofrandomly generated individuals. Additionally, the fittest individualfrom a foreign population is moved or cloned into the population 102.Thus, the survivor and the fittest foreign individual are allowed tocompete against each other. Although the fittest individual from aforeign population is often used, any individual from the foreignpopulation can be used.

The cataclysm strategy unit 106 can make adjustments to the migrationstrategy by applying the quarantining strategy to the survivor and/ordelaying the migration of the foreign individual. A hypothetical can beused to demonstrate the adjustments as well as further describe use oftokens.

Assume that, when the migration strategy is selected by the cataclysmstrategy unit 106, the first generation after the cataclysm includes aset of randomly generated individuals, the survivor, and a foreignindividual. The survivor has a token indicating it as such and theforeign individual has a token indicating it as being from a foreignpopulation. When a reproduction operation is performed, each parent ischecked for a token, which is then passed on to the offspring. When onlyone parent individual has a token or both parents have the same token,the token is inherited by the child. When both parents have differenttokens, the token of the fittest parent is inherited by the child, butnot both.

After the population 102 converges, the convergence analysis unit 104can use the tokens to determine whether the population 102 convergedbecause of the survivor, the foreign individual, or a combinationthereof. If the convergence analysis unit 104 determines that thepopulation 102 converged because the survivor took over the population102, the cataclysm strategy unit 106 can quarantine the survivor. If theconvergence analysis unit 104 determines that the population 102converged because the foreign individual took over the population 102,the cataclysm strategy unit 106 can delay the migration of the foreignindividual. If the convergence analysis unit 104 determines that thepopulation 102 converged because of a combination of the survivor andthe foreign individual, the cataclysm strategy unit 106 can quarantinethe survivor, delay the migration of the foreign individual, or both,thus allowing the randomly generated population to evolve alone.

The same adjustments and variations available for the quarantiningcataclysm strategy can be applied to both the quarantining of thesurvivor and delaying the migration of the foreign individual. Othervariations are available to the migration cataclysm strategy as well.For example, the cataclysm strategy unit 106 can switch which populationit moves or copies the foreign individual from. The cataclysm strategyunit 106 can also either reuse the original foreign individual for eachcataclysm or, if the foreign population is simulated concurrently withthe population 102, use the current fittest individual from the foreignpopulation.

A third cataclysm strategy that can be selected by the cataclysmstrategy unit 106 is utilizing “seeding” after a cataclysm event.Seeding is a technique in which one or more individuals (hereinafter“seeds”) are specifically selected for inclusion in the population 102.Some seeds can include non-random genes, some seeds can be specificindividuals selected from a population, whether randomly generated orafter some evolution has taken place. A user typically has someknowledge of what traits, or combination of traits, will provide afitter individual than an average randomly generated individual.Although seeding can be utilized at any time in a simulation, if theaverage fitness of the population 102 is low when a seed is added, theseed may be more likely to take over the population 102. This can leadto premature convergence. However, seeding can provide a strongindividual for a survivor to compete against. Additionally, seeding canprovide additional, targeted genetic diversity. For example, the usermay be able to identify that a specific set of genes causes thepopulation 102 to converge to a particular local optimum. The user canthen seed the population 102 with an individual containing a set ofgenes that tend to converge to a different local optimum, in hopes thatthe resulting generations will produce an individual that converges to abetter local optimum than the seed or the survivor.

The cataclysm controller 100 is not limited to user input for generatingand inserting seeds. The convergence analysis unit 104 and cataclysmstrategy unit 106 can produce, or help produce, a seed. For example,convergence analysis unit 104 can analyze the genes of all individualsin the population 102. In some scenarios, the convergence analysis unit104 can determine that while some genes vary between individuals in thepopulation 102, one or more sets of genes do not vary betweenindividuals. Based on said determination, the convergence analysis unit104 can determine that the genes that do not vary between theindividuals control the convergence to the local optimum. Theconvergence analysis unit 104 can additionally use patterns in theevolution of the population 102 to determine similar connections. Thecataclysm strategy unit 106 then uses the information from theconvergence analysis unit 104 and generates an appropriate seed with adifferent set of genes. Additionally, a database of specific genesequences that lead to local optimums can be maintained, allowing thecataclysm strategy unit 106 to select from a variety of possible seeds.

The above discussion illustrates that one adjustment the cataclysmstrategy unit 106 can make to the seeding cataclysm strategy is changingthe seed, or set of seeds, used. Quarantining can also be applied to thesurvivor or the seed. Further, when utilizing multiple seeds, seeds orsets of seeds can be inserted into the population 102 in multiplegenerations. For example, if four seeds are being used, one seed can beinserted into the population 102 in the first generation after thecataclysm; two seeds can be inserted into the population 102 in thefourth generation after the cataclysm; and one seed can be inserted intothe population 102 in the sixth generation after the cataclysm.

A fourth cataclysm strategy that can be selected by the cataclysmstrategy unit 106 employs “biasing.” Biasing involves biasing theprobability that a randomly generated individual will have a particulargene. In other words, in scenarios where genes are represented by binaryvalues (thus, an individual either has a gene or does not have a gene),each gene has a fifty percent chance of being randomly given to anindividual. Thus, on average, half of the population 102 will have anyone gene. However, the probability that an individual will have aparticular gene can be adjusted, or biased. For example, a particulargene can be given a bias of seventy percent, thus resulting in anyrandomly generated individual having a seventy percent chance of havingthe gene. A seventy percent bias results in seventy percent of thepopulation 102 having the particular gene, on average. In scenarioswhere genes are represented by non-binary values, additional methods canbe employed. For example, if a gene is represented by a set of values(such as the characters ‘a’, ‘b’ and ‘c’), each possible value can begiven a particular bias value such that the sum of bias values for eachgene is one. If a gene is represented by a particular range of values,bias values can be determined such that a value representing a gene ismore likely to be within a particular sub-range. For example, biasingvalues can be applied such that the values representing a particulargene throughout the population 102 conform to a normal distributionaround a particular mean value.

As with the prior strategies, a survivor is carried over to thepost-cataclysm generation. The randomly generated portion of thepopulation 102 is also generated, but with biasing applied to thegeneration. If genes are represented as an array of binary values, thebias values can be represented by an array with an entry thatcorresponds to each gene. The bias value in the entry can be representedby a decimal value between zero and one, where zero represents a zeropercent chance of an individual having the corresponding gene and a onerepresenting a one hundred percent chance of an individual having thecorresponding gene.

The determination of the bias values can vary between implementations.As described above, seeds can be generated based on an analysis of thegenes associated with a survivor. The bias values can be determinedsimilarly. For example, if a particular set of genes are identified asrelevant to the success of the survivor, the bias values can be set suchthat the randomly generated individuals have a lower probability ofhaving those genes. Similarly, if a different set of genes is identifiedas performing similarly, or identified as converging onto a differentlocal optimum, the bias values can be set such that the randomlygenerated individuals have a higher probability of having those genes.

The cataclysm strategy unit 106 can adjust the biasing cataclysmstrategy in a variety of ways. For example, the cataclysm strategy unit106 can adjust the amount of biasing. If the cataclysm strategy unit 106is biasing away from a set of particular genes, the cataclysm strategyunit 106 can set the bias values associated with the set of genes tozero (or one, if biasing away from the lack of a particular gene). Onthe other hand, the cataclysm strategy unit 106 can also use moremoderate bias values, such as 0.15, thus still allowing some individualsto have the set of genes. The cataclysm strategy unit 106 can alsoadjust the bias values based on a different goal. For example, if thecataclysm strategy unit 106 is using bias values to bias away from aparticular gene combination, the cataclysm strategy unit 106 can changethe bias values to bias towards a different gene combination.

At stage D, the cataclysm strategy unit 106 sends the cataclysmparameters to the appropriate cataclysm module. If the seeding cataclysmstrategy was selected at stage C, for example, the cataclysm strategyunit 106 sends a notification to the seeding cataclysm module 114.Included in the notification are any parameters indicating whatadjustments to the base seeding cataclysm strategy are to be made. Forexample, the cataclysm strategy unit 106 can indicate that the seedingcataclysm module 114 is to seed the first, third and fifth generationwith three different seeds, also indicating the particular set of genesthe seeds will have. The cataclysm strategy unit 106 can indicate thatthe cataclysm module use the default strategy for the particular moduleby not sending any parameters.

Additional data can be sent to the cataclysm module, depending on theimplementation. For example, the data representing the population 102can be sent to the cataclysm module in some implementations. In someimplementations, the cataclysm module reads the data representing thepopulation 102 in response to a notification from the cataclysm strategyunit 106. In some implementations, the cataclysm strategy unit 106sends, or returns the data to the cataclysm controller 100, which thenprovides the data to the appropriate cataclysm module.

At stage E, the cataclysm is simulated according to the cataclysmstrategy determined by the cataclysm strategy unit 106. The cataclysm,in which a new population is created and/or populated, can be simulatedby different components depending on the implementation. For example, insome implementations, the cataclysm module corresponding to the selectedcataclysm strategy receives or reads the data representing thepopulation 102, simulates the cataclysm and then outputs the datarepresenting the new population. In some implementations, the cataclysmcontroller 100 already includes the data representing the population 102and simulates the cataclysm, replacing the data representing theprevious population with data representing the population 102 after thecataclysm. After simulating the cataclysm, the cataclysm controller 100continues the simulation, which may include repeating the abovedescribed stages.

FIG. 2 depicts a flowchart of example operations for implementing acataclysm controller.

At block 200, the cataclysm controller determines that a population hasconverged. The individuals generated by breeding the individuals of theprevious generation are tested using a fitness function to determine howeach individual performs on the underlying problem. The cataclysmcontroller then analyzes the individuals to determine whether thepopulation has converged or not. “Convergence” can be defined variously,as described above. In some implementations, the cataclysm controllerdoes not analyze the population for convergence after each generation.Instead, the cataclysm controller compares the current generation withone or more generations to determine the amount of progress made betweengenerations. For example, the cataclysm controller can compare thefitness of the best performing individual from both generations orcompare the average fitness level of the individuals in bothgenerations. The cataclysm controller then chooses to analyze the entirepopulation for convergence depending on the amount of progress madebetween generations. Further, the cataclysm controller can compare thecurrent generation with multiple prior generations. Comparisons of otheraspects between generations can also be used. Utilizing values that werepreviously calculated or can be quickly calculated can increase theefficiency of the cataclysm controller compared with analyzing theentire population. After determining that the population has converged,control then flows to block 202.

At block 202, the cataclysm controller determines the cause of thepopulation convergence. As described above, the cataclysm controller cananalyze the genes within each individual as well as data from previousgenerations to determine the cause of the population convergence.Additionally, tokens can be utilized to help determine the cause of theconvergence. After determining the cause of the population convergence,control then flows to block 204.

At block 204, the cataclysm controller selects a cataclysm strategy froma plurality of cataclysm strategies based, at least in part, on thepopulation convergence cause. For example, if the population convergenceis caused by a foreign individual taking over the population, thecataclysm can select a different cataclysm strategy that does not usemigration. Further, if the simulation still progressed after theprevious cataclysm, the cataclysm controller can select the samestrategy used previously. The convergence rate, as discussed above, canindicate whether the simulation has progressed after the previouscataclysm. After selecting a cataclysm strategy, control then flows toblock 206.

At block 206, the cataclysm controller simulates a cataclysm using thecataclysm strategy selected at block 204. For example, if thequarantining cataclysm strategy was selected, the cataclysm controllerquarantines the survivor; if the migration cataclysm strategy wasselected, the cataclysm controller inserts a foreign individual into thepopulation, etc. After simulating the cataclysm, the process ends.

FIG. 3 depicts a flowchart of example operations for selecting one of aplurality of cataclysm strategies and configuring the selected strategybased, at least in part, on the population convergence cause andsimulation history.

At block 300, the cataclysm controller determines if the previouscataclysm strategy should be reused. The previous cataclysm strategy wasthe cataclysm strategy used on the most recent cataclysm. The cataclysmcontroller uses various criteria to determine whether the previouscataclysm strategy should be reused. For example, the cataclysmcontroller can analyze the amount of progress made after using theprevious cataclysm strategy. If the progress made is over a certainthreshold, the cataclysm controller can choose to reuse the previouscataclysm strategy. If the progress made is not over the threshold, thecataclysm controller can choose not to reuse the previous cataclysmstrategy. Further, the cataclysm controller can analyze the progressmade over multiple uses of the previous cataclysm strategy. Thecataclysm controller can also use the cause of the populationconvergence to determine whether the previous cataclysm strategy shouldbe reused, as described above. If the cataclysm controller determinesthat the previous cataclysm strategy should be reused, control thenflows to block 304. If the cataclysm controller determines that theprevious cataclysm strategy should not be reused, control then flows toblock 302.

At block 302, the cataclysm controller selects a cataclysm strategy thatdiffers from the previous cataclysm strategy. In some implementations,the cataclysm controller selects a cataclysm strategy based on apredetermined order. For example, the cataclysm controller might alwaysselect the migrating strategy if the quarantining strategy was theprevious cataclysm strategy. In some implementations, the cataclysmcontroller selects the cataclysm dynamically, based on an analysis ofthe population or analysis of other data. For example, certain classesof problems and solutions, when simulated, might see more progress whenthe cataclysm strategies are applied in a particular order. Thecataclysm controller can read metadata about the simulation (such as theclass of problems the current problem belongs to) and select the nextcataclysm strategy based on said metadata. After selecting a differentcataclysm strategy, the process ends.

Control flowed to block 304 if the cataclysm controller determined, atblock 300, that the previous cataclysm strategy should be reused. Atblock 304, the cataclysm controller selects the previous cataclysmstrategy. An indication of the previous cataclysm strategy can be storedin a variety of ways, such as in a variable, as a pointer to a cataclysmstrategy module, a memory location such as register, etc. In someimplementations, the previous cataclysm strategy remains selected untilexplicitly deselected or replaced by another cataclysm strategy. Inother words, the cataclysm controller selects the previous cataclysmstrategy implicitly by not selecting a different cataclysm strategy.After selecting the previous cataclysm strategy, control then flows toblock 306.

At block 306, the cataclysm controller determines whether the previouscataclysm strategy should be adjusted. Similar to determining whetherthe previous cataclysm strategy should be reused, the cataclysmcontroller uses various criteria to determine whether the previouscataclysm strategy should be adjusted. For example, the cataclysm canlook at the progress resulting from a previous adjustment to theprevious cataclysm strategy, which can be indicated by the convergencerate. Some cataclysm strategies may be implemented such that they have afinite number of possible adjustments. Thus, in scenarios where no moreadjustments to the cataclysm strategy are possible, the previouscataclysm strategy can be reused regardless of whether adjustments wouldotherwise have been made. If the cataclysm controller determines thatthe previous cataclysm strategy should be adjusted, control then flowsto block 308. If the cataclysm controller determines that the previouscataclysm strategy should not be adjusted, the process ends.

At block 308, the cataclysm controller determines what the previouscataclysm strategy was. The cataclysm controller can determine this in avariety of ways, depending on the implementation. For example, thecataclysm controller can compare the value of a variable representingthe previously used cataclysm strategy to a set of values representingeach of the possible cataclysm strategies. Determining what the previouscataclysm was allows the cataclysm controller to make adjustmentsspecific to a particular cataclysm strategy. If the previous cataclysmstrategy was a quarantining cataclysm strategy, control then flows toblock 310. If the previous cataclysm strategy was a migrating cataclysmstrategy, control then flows to block 312. If the previous cataclysmstrategy was a seeding cataclysm strategy, control then flows to block314. If the previous cataclysm strategy was a biasing cataclysmstrategy, control then flows to block 316.

At block 310, the cataclysm controller adjusts the length of thequarantine period for the survivor. In some implementations, thecataclysm controller adjusts the length of the quarantine period for thesurvivor based on a predetermined pattern. For example, the cataclysmcontroller may increase the quarantine period by two generations foreach adjustment. In some implementations, the quarantine period can beadjusted dynamically. For example, the cataclysm controller may reducethe number of generations the quarantine period is increased if theprogress after the previous adjustment was over a certain threshold, orvice versa. Adjustments are not limited to increasing the quarantineperiod, but can include decreasing the quarantine period as well.Adjustments to a quarantine period based off of a fitness level can bemade in a similar manner. After adjusting the length of the quarantineperiod, the process ends.

Control flowed to block 312 if the cataclysm controller determined, atblock 308, that the previous cataclysm strategy was the migratingcataclysm strategy. At block 312, the cataclysm controller adjusts thelength of the quarantine period for the survivor. The cataclysmcontroller adjusts the length of the quarantine period in a manner thatis substantially similar to adjusting the length of the quarantineperiod at block 310. After adjusting the length of the quarantineperiod, control then flows to block 318.

At block 318, the cataclysm controller adjusts the migration delay. Themigration delay specifies how many generations after a cataclysm aforeign individual should be inserted into the population. The migrationdelay can be implemented by selecting a foreign individual when thecataclysm is performed, then quarantining the foreign individual for thenumber of generations specified by the migration delay. The migrationdelay can also be implemented by not selecting a foreign individualuntil after the number of generations specified by the migration delay.The migration delay is not limited to being defined as a specific numberof generations, but can be defined based on other criteria, such as afitness level. After adjusting the migration delay, control then flowsto block 319.

At block 319, the cataclysm controller selects a different sourceforeign population from which the foreign individual is selected from.When multiple populations are simulated, each one may converge ondifferent local optima. Thus, combining strong individuals fromdifferent populations can yield individuals that are fitter than either.However, migrating an individual from a particular foreign populationmay not result in fitter individuals. Thus, the cataclysm controller canchange which population a foreign individual is selected from. Thecataclysm controller can compare the fitness of the various foreignpopulations and select a foreign individual from a foreign populationthat has similar fitness to the population. After changing the foreignpopulation from which the foreign individual is selected, the processends.

Control flowed to block 314 if the cataclysm controller determined, atblock 308, that the previous cataclysm strategy was the seedingcataclysm strategy. At block 314, the cataclysm controller adjusts thelength of the quarantine period for the survivor. The cataclysmcontroller adjusts the length of the quarantine period in a manner thatis substantially similar to adjusting the length of the quarantiningperiod at block 310. After adjusting the length of the quarantineperiod, control then flows to block 320.

At block 320, the cataclysm controller adjusts the number of seedsinserted into the population. For example, if the cataclysm controllerpreviously inserted one seed into the population, the cataclysmcontroller can insert two seeds into the population. Similarly, thecataclysm can decrease the number of seeds inserted into the population.If the number of seeds inserted into the population is increased, theadditional seeds can be a copy of one or more of the other seeds, orseeds with genes that are distinct from the other seeds. After adjustingthe number of seeds inserted into the population, control then flows toblock 322.

At block 322, the cataclysm controller changes which seeds are insertedinto the population. For example, if the cataclysm controller has aplurality of seeds from which to choose and is inserting fewer than allof the seeds, the cataclysm controller can replace a seed that wasinserted the previous time with a different seed. A replacement seed canbe a copy of another seed that is currently being inserted into thepopulation. If the cataclysm controller determines that an additionalseed should be inserted or a previously inserted seed not inserted, thenumber of seeds is also updated accordingly. After adjusting which seedsare inserted into the population, control then flows to block 324.

At block 324, the cataclysm controller adjusts the timing of the seedinsertion(s). For example, if the cataclysm controller is inserting oneseed into the population during the first generation after thecataclysm, the cataclysm controller can insert the seed into the thirdgeneration after the cataclysm instead. Similarly, if the cataclysm isinserting multiple seeds into the population, the cataclysm controllercan adjust the timing of each seed insertion. For example, all seeds canbe inserted during the first generation, inserted at evenly spacedintervals, inserted at random intervals, etc. After adjusting the timingof the seed insertion(s), the process ends.

Control flowed to block 316 if the cataclysm controller determined, atblock 308, that the previous cataclysm strategy was the biasingcataclysm strategy. At block 316, the cataclysm controller adjusts thelength of the quarantine period for the survivor. The cataclysmcontroller adjusts the length of the quarantine period in a manner thatis substantially similar to adjusting the length of the quarantiningperiod at block 310. After adjusting the length of the quarantineperiod, control then flows to block 326.

At block 326, the cataclysm controller adjusts the bias values. Asdescribed above, the bias values represent the probability that anindividual will have a particular gene or have a particular value forthe gene if non-binary. To adjust the bias values for binary genes, thecataclysm controller modifies the bias value associated with aparticular gene, setting the bias value to another value between zeroand one. To adjust the bias values for non-binary genes, the cataclysmcontroller modifies the bias values associated with a particular gene orotherwise adjusts the technique used to generate the gene value. Also asdescribed above, the bias values can be adjusted in many ways. Forexample, the cataclysm controller can adjust the bias value associatedwith a single gene to one if the cataclysm controller determines thatall randomly generated individuals should have that particular gene.Similarly, the cataclysm controller can adjust the bias value associatedwith a single gene to zero if the cataclysm controller determines thatall randomly generated individuals should not have that particular gene.The cataclysm controller can adjust the bias value associated with asingle gene to a value between zero and one if the cataclysm controllerdetermines that a certain percentage of randomly generated individualsshould have that particular gene. Similar variations can be accomplishedwhen a gene is non-binary by adjusting a set of bias values accordingly,modifying the parameters to a function that generates the gene value,etc. The cataclysm controller can make similar adjustments to sets ofgenes. After adjusting the bias values, the process ends.

The discussion pertaining to FIG. 3 assumes that each cataclysm strategyincludes a default configuration. Thus, after selecting a cataclysmstrategy that is different from the previous cataclysm strategy at block302, the process ends. Similarly, it is assumed that the configurationused for the previous cataclysm strategy, whether the defaultconfiguration or not, is persisted. Thus, if the cataclysm controllerdetermines that the previous cataclysm strategy should not be adjustedat block 306, the process ends, and the previous cataclysm strategy willbe reused with the same configuration as the previous use. However, thecataclysm controller can be implemented without these assumptions. Forexample, anytime a cataclysm strategy is selected, it can go through aprocess similar to the adjustment process illustrated by blocks 310through 326 in which the initial configuration is determined.

Although the breadth of the potential variations is illustrated by thediscussions above, it should be explicitly noted that only a smallsubset of the possible variations are described. For example, someimplementations may only implement a subset of the strategies discussedabove, some implementations may implement additional strategies notdiscussed above, some implementations may implement none of thestrategies discussed above, etc. Additionally, only a small subset ofthe data available for analysis is discussed above. Some implementationsmay include additional data that can be used to determine the populationconvergence cause, whether a particular cataclysm strategy should beadjusted, what adjustments to make to a particular cataclysm strategy,etc. Furthermore, migration is described as the migration of a singleforeign individual. However, migration can be implemented such thatmultiple individuals can migrate into a population, from the same ordifferent foreign populations. Cataclysm can be local to a particulardeme in a multi-deme simulation or implemented as global cataclysms thatapply to all demes in a multi-deme simulation, and the strategiesadjusted accordingly. Thus, the inventive subject matter should not belimited to the specific options, features, etc. discussed above.

As example flowcharts, the flowcharts depicted above present operationsin an example order from which embodiments can deviate (e.g., operationscan be performed in a different order than illustrated and/or inparallel). For example, FIG. 3 depicts the adjustment of the quarantineperiod length at block 316 as coming before the adjustment of the biasvalues at block 326. However, the adjustments can be in any order.Furthermore, FIG. 3 also depicts each adjustment as occurring, however,adjustments to a particular cataclysm strategy are optional as long asone adjustment is performed.

As will be appreciated by one skilled in the art, aspects of the presentinventive subject matter may be embodied as a system, method or computerprogram product. Accordingly, aspects of the present inventive subjectmatter may take the form of an entirely hardware embodiment, an entirelysoftware embodiment (including firmware, resident software, micro-code,etc.) or an embodiment combining software and hardware aspects that mayall generally be referred to herein as a “circuit,” “module” or“system.” Furthermore, aspects of the present inventive subject mattermay take the form of a computer program product embodied in one or morecomputer readable medium(s) having computer readable program codeembodied thereon.

Any combination of one or more computer readable medium(s) may beutilized. The computer readable medium may be a computer readable signalmedium or a computer readable storage medium. A computer readablestorage medium may be, for example, but not limited to, an electronic,magnetic, optical, electromagnetic, infrared, or semiconductor system,apparatus, or device, or any suitable combination of the foregoing. Morespecific examples (a non-exhaustive list) of the computer readablestorage medium would include the following: a portable computerdiskette, a hard disk, a random access memory (RAM), a read-only memory(ROM), an erasable programmable read-only memory (EPROM or Flashmemory), an optical fiber, a portable compact disc read-only memory(CD-ROM), an optical storage device, a magnetic storage device, or anysuitable combination of the foregoing. In the context of this document,a computer readable storage medium may be any tangible medium that cancontain, or store a program for use by or in connection with aninstruction execution system, apparatus, or device.

A computer readable signal medium may include a propagated data signalwith computer readable program code embodied therein, for example, inbaseband or as part of a carrier wave. Such a propagated signal may takeany of a variety of forms, including, but not limited to,electro-magnetic, optical, or any suitable combination thereof. Acomputer readable signal medium may be any computer readable medium thatis not a computer readable storage medium and that can communicate,propagate, or transport a program for use by or in connection with aninstruction execution system, apparatus, or device.

Program code embodied on a computer readable medium may be transmittedusing any appropriate medium, including but not limited to wireless,wireline, optical fiber cable, RF, etc., or any suitable combination ofthe foregoing.

Computer program code for carrying out operations for aspects of thepresent inventive subject matter may be written in any combination ofone or more programming languages, including an object orientedprogramming language such as Java, Smalltalk, C++ or the like andconventional procedural programming languages, such as the “C”programming language or similar programming languages. The program codemay execute entirely on the user's computer, partly on the user'scomputer, as a stand-alone software package, partly on the user'scomputer and partly on a remote computer or entirely on the remotecomputer or server. In the latter scenario, the remote computer may beconnected to the user's computer through any type of network, includinga local area network (LAN) or a wide area network (WAN), or theconnection may be made to an external computer (for example, through theInternet using an Internet Service Provider).

Aspects of the present inventive subject matter are described withreference to flowchart illustrations and/or block diagrams of methods,apparatus (systems) and computer program products according toembodiments of the inventive subject matter. It will be understood thateach block of the flowchart illustrations and/or block diagrams, andcombinations of blocks in the flowchart illustrations and/or blockdiagrams, can be implemented by computer program instructions. Thesecomputer program instructions may be provided to a processor of ageneral purpose computer, special purpose computer, or otherprogrammable data processing apparatus to produce a machine, such thatthe instructions, which execute via the processor of the computer orother programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks.

These computer program instructions may also be stored in a computerreadable medium that can direct a computer, other programmable dataprocessing apparatus, or other devices to function in a particularmanner, such that the instructions stored in the computer readablemedium produce an article of manufacture including instructions whichimplement the function/act specified in the flowchart and/or blockdiagram block or blocks.

The computer program instructions may also be loaded onto a computer,other programmable data processing apparatus, or other devices to causea series of operational steps to be performed on the computer, otherprogrammable apparatus or other devices to produce a computerimplemented process such that the instructions which execute on thecomputer or other programmable apparatus provide processes forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks.

FIG. 4 depicts an example computer system including an adaptivecataclysm controller. A computer system 400 includes a processor unit401 (possibly including multiple processors, multiple cores, multiplenodes, and/or implementing multi-threading, etc.). The computer system400 includes memory 407. The memory 407 may be system memory (e.g., oneor more of cache, SRAM, DRAM, zero capacitor RAM, Twin Transistor RAM,eDRAM, EDO RAM, DDR RAM, EEPROM, NRAM, RRAM, SONOS, PRAM, etc.) or anyone or more of the above already described possible realizations ofmachine-readable media. The computer system 400 also includes a bus 403(e.g., PCI, ISA, PCI-Express, HyperTransport® bus, InfiniBand® bus,NuBus bus, etc.), a network interface 405 (e.g., an ATM interface, anEthernet interface, a Frame Relay interface, SONET interface, wirelessinterface, etc.), and a storage device(s) 409 (e.g., optical storage,magnetic storage, etc.). The computer system 400 also includes anadaptive cataclysm controller 411. The adaptive cataclysm controller 411embodies functionality to facilitate the functionality described above.For example, the adaptive cataclysm controller 411 embodiesfunctionality allowing it to simulate a population utilizing geneticalgorithms. The adaptive cataclysm controller 411 further embodiesfunctionality to determine the cause of a population convergence, selecta cataclysm strategy and adjust the cataclysm strategy. Any one of thesefunctionalities may be partially (or entirely) implemented in the memory407. Any one of these functionalities may be partially (or entirely)implemented in hardware and/or on the processing unit 401. For example,the functionality may be implemented with an application specificintegrated circuit, in logic implemented in the processing unit 401, ina co-processor on a peripheral device or card, etc. Further,realizations may include fewer or additional components not illustratedin FIG. 4 (e.g., video cards, audio cards, additional networkinterfaces, peripheral devices, etc.). The processor unit 401, thestorage device(s) 409, and the network interface 405 are coupled to thebus 403. Although illustrated as being coupled to the bus 403, thememory 407 may be coupled to the processor unit 401.

While the embodiments are described with reference to variousimplementations and exploitations, it will be understood that theseembodiments are illustrative and that the scope of the inventive subjectmatter is not limited to them. In general, techniques for geneticalgorithms as described herein may be implemented with facilitiesconsistent with any hardware system or hardware systems. Manyvariations, modifications, additions, and improvements are possible.

Plural instances may be provided for components, operations orstructures described herein as a single instance. Finally, boundariesbetween various components, operations and data stores are somewhatarbitrary, and particular operations are illustrated in the context ofspecific illustrative configurations. Other allocations of functionalityare envisioned and may fall within the scope of the inventive subjectmatter. In general, structures and functionality presented as separatecomponents in the exemplary configurations may be implemented as acombined structure or component. Similarly, structures and functionalitypresented as a single component may be implemented as separatecomponents. These and other variations, modifications, additions, andimprovements may fall within the scope of the inventive subject matter.

What is claimed is:
 1. A computerized method comprising: performing agenetic algorithm that evolves a population of candidate solutions tosolve an optimization problem by: associating, by an adaptive cataclysmcontroller operating on one or more processors, a respective uniquetoken with each respective survivor candidate solution of the populationof candidate solutions following respective cataclysms such that eachoffspring of the each respective survivor candidate solution is alsoassociated with the respective token; determining, by the adaptivecataclysm controller operating on one or more processors, that thepopulation of candidate solutions has converged during a run of thegenetic algorithm; determining, by the adaptive cataclysm controlleroperating on the one or more processors analyzing a run of the geneticalgorithm, a cause for convergence of the population, where the causeincludes more than a threshold amount of candidate solutions beingassociated with a single token; and quarantining, by the adaptivecataclysm controller operating on the one or more processors, candidatesolutions of the plurality of candidate solutions that are associatedwith the single token for a number of generations based, at least inpart, on the cause for the convergence and a history of the run of thegenetic algorithm.
 2. The method of claim 1 further comprising:selecting, by the adaptive cataclysm controller operating on the one ormore processors, a first cataclysm strategy of a plurality of differentcataclysm strategies based, at least in part, on one of the cause forthe convergence and a history of the run of the genetic algorithm;simulating, by the adaptive cataclysm controller operating on the one ormore processors, a cataclysm based on the first cataclysm strategy;determining, by the adaptive cataclysm controller operating on the oneor more processors, that the first cataclysm strategy should beadjusted; responsive to said determining that the first cataclysmstrategy should be adjusted, determining, by the adaptive cataclysmcontroller operating on the one or more processors, a set of parametersfor the first cataclysm strategy; and adjusting, by the adaptivecataclysm controller operating on the one or more processors, the firstcataclysm strategy in accordance with the set of parameters for thefirst cataclysm strategy; wherein said simulating the cataclysm based,at least in part, on the first cataclysm strategy comprises simulatingthe cataclysm in accordance with the adjusted first cataclysm strategy.3. The method of claim 2, wherein said determining that the firstcataclysm strategy should be adjusted comprises determining that anumber of generations between convergences is below a threshold.
 4. Themethod of claim 2, wherein the first cataclysm strategy is aquarantining strategy, and wherein said adjusting the first cataclysmstrategy in accordance with the set of parameters for the firstcataclysm strategy comprises adjusting a length of a quarantiningperiod, wherein the length of the quarantining period defines the numberof generations.
 5. The method of claim 2, wherein the first cataclysmstrategy is a migration strategy, wherein the migration strategycomprises inserting, into the population, one or more foreignindividuals from a first set of one or more foreign populations, whereinsaid adjusting the first cataclysm strategy in accordance with the setof parameters for the first cataclysm strategy comprises at least oneof: adjusting a length of a quarantining period, wherein the length ofthe quarantining period defines the number of generations; adjusting alength of a migration delay, wherein one or more foreign individuals arenot inserted into the population until after a number of generationsindicated by the length of the migration delay; and selecting one ormore foreign individuals from a second set of one or more foreignpopulations.
 6. The method of claim 2, wherein the first cataclysmstrategy is a seeding strategy, wherein the seeding strategy comprisesinserting one or more seeds into the population, wherein said adjustingthe first cataclysm strategy in accordance with the set of parametersfor the first cataclysm strategy comprises at least one of: adjusting alength of a quarantining period; adjusting a number of seeds insertedinto the population; adjusting when seeds are inserted into thepopulation; and adjusting which seeds are inserted into the population.7. The method of claim 2, wherein the first cataclysm strategy is abiasing strategy, wherein said adjusting the first cataclysm strategy inaccordance with the set of parameters for the first cataclysm strategycomprises changing a bias value from a set of bias values to anothervalue.
 8. The method of claim 1 further comprising: selecting, by theadaptive cataclysm controller operating on the one or more processors, afirst cataclysm strategy of a plurality of different cataclysmstrategies based, at least in part, on one of the cause for theconvergence and a history of the run of the genetic algorithm;simulating, by the adaptive cataclysm controller operating on the one ormore processors, a cataclysm based on the first cataclysm strategy;determining, by the adaptive cataclysm controller operating on the oneor more processors, that a previously used cataclysm strategy should notbe reused; and wherein said selecting the first cataclysm strategy ofthe plurality of cataclysm strategies comprises selecting the firstcataclysm strategy of the plurality of cataclysm strategies because thefirst cataclysm strategy is different than the previously used cataclysmstrategy.
 9. One or more computer-readable storage mediums including acomputer program product including computer executable program codethat, when executed by one or more processors, cause the one or moreprocessors to: perform operations for a genetic algorithm that evolves apopulation of candidate solutions to solve an optimization problem bycausing the one or more processors to: associate, by an adaptivecataclysm controller, a respective unique token with each respectivesurvivor candidate solution of the population of candidate solutionsfollowing respective cataclysms such that each offspring of the eachrespective survivor candidate solution is also associated with therespective token; determine, by the adaptive cataclysm controller, thatthe population of candidate solutions has converged during a run of thegenetic algorithm; determine, by the adaptive cataclysm controlleranalyzing a run of the genetic algorithm, a cause for convergence of thepopulation, where the cause includes more than a threshold amount ofcandidate solutions being associated with a single token; andquarantine, by the adaptive cataclysm controller, candidate solutions ofthe plurality of candidate solutions that are associated with the singletoken for a number of generations based, at least in part, on the causefor the convergence and a history of the run of the genetic algorithm.10. The one or more computer-readable storage mediums of claim 9,wherein the history of the run of the genetic algorithm comprises atleast one of a cataclysm count and a convergence rate, wherein theconvergence rate is indicated by at least one of a number of generationsbetween convergences and a number of convergences per a number ofgenerations.
 11. The one or more computer-readable storage mediums ofclaim 10, the program code further causes the one or more processors to:select, by the adaptive cataclysm controller, a first cataclysm strategyof a plurality of different cataclysm strategies based, at least inpart, on one of the cause for the convergence and a history of the runof the genetic algorithm, wherein selecting the first cataclysm strategyincludes: program code to determine, by the adaptive cataclysmcontroller, that the convergence rate is below a threshold; wherein saidselection of the first cataclysm strategy of the plurality of cataclysmstrategies is responsive to said determination that the convergence rateis below the threshold; and simulate, by the adaptive cataclysm, acataclysm based on the first cataclysm strategy.
 12. The one or morecomputer-readable storage mediums of claim 10, the program code furthercausing the one or more processors to: select, by the adaptive cataclysmcontroller, the first cataclysm strategy of the plurality of cataclysmstrategies based, at least in part, on one of the cause for theconvergence and a history of the run of the genetic algorithm, whereinselecting the first cataclysm strategy further comprises: program codeto determine that the convergence rate is above a threshold; and whereinsaid selection of the first cataclysm strategy of the plurality ofcataclysm strategies is responsive to said determination that theconvergence rate is above the threshold; and simulate, by the adaptivecataclysm, a cataclysm based on the first cataclysm strategy.
 13. Theone or more computer-readable storage mediums of claim 9, wherein theanalysis of the run of the genetic algorithm comprises at least one of:determination that one or more candidate solutions in the population ofcandidate solutions is associated with one or more tokens; analysis ofthe history of the run of the genetic algorithm; and analysis of a setof genes associated with each of one or more candidate solutions in thepopulation of candidate solutions.
 14. The one or more computer-readablestorage mediums of claim 9, the program code further causing the one ormore processors to: select, by the adaptive cataclysm controller, afirst cataclysm strategy of a plurality of different cataclysmstrategies based, at least in part, on one of the cause for theconvergence and a history of the run of the genetic algorithm; andsimulate, by the adaptive cataclysm, a cataclysm based on the firstcataclysm strategy, wherein the different cataclysm strategies comprisea quarantining strategy, a migration strategy, a seeding strategy, and abiasing strategy.
 15. The one or more computer-readable storage mediumsof claim 9, the program code further causing the one or more processorsto: select, by the adaptive cataclysm controller, a first cataclysmstrategy of a plurality of different cataclysm strategies based, atleast in part, on one of the cause for the convergence and a history ofthe run of the genetic algorithm; and simulate, by the adaptivecataclysm, a cataclysm based on the first cataclysm strategy, whereinthe first cataclysm strategy of the plurality of different cataclysmstrategies comprises a first set of parameters, and wherein a secondcataclysm strategy of the plurality of different cataclysm strategiescomprises a second set of parameters different from the first set ofparameters.
 16. The method of claim 15, wherein the first set ofparameters and the second set of parameters include different membersubsets from a set of parameters consisting of a mass extinctionparameter, a quarantining parameter, a migration parameter, a seedingparameter, and a biasing parameter.
 17. The method of claim 15, whereinthe selecting the first cataclysm strategy comprises: program code todetermine, based on the history of the metaheuristic optimization run,that the second cataclysm strategy was used to perform one or more priorcataclysms using the second set of parameters; and program code toselect the first cataclysm strategy in place of the second cataclysmstrategy in response to the determination that modifying values for thesecond set of parameters would be less likely to provide fittercandidate solutions than using the first set of parameters from thefirst cataclysm strategy.
 18. The method of claim 15, wherein the secondset of parameters comprises a first parameter that randomly mutates oneor more of the population of candidate solutions, and wherein theprogram code to select the first cataclysm strategy comprises programcode to determine that random mutations of the one or more of thepopulation of candidate solutions would be less likely to provide fittercandidate solutions than using a second cataclysm parameter from thefirst cataclysm strategy, wherein the second cataclysm parametercomprises one or more of a quarantining parameter, a migrationparameter, a seeding parameter, and a biasing parameter.
 19. Anapparatus comprising: one or more processors; one or morecomputer-readable storage mediums including a computer program productincluding computer executable program code that, when executed by theone or more processors, cause the one or more processors to: performoperations for a genetic algorithm that evolves a population ofcandidate solutions to solve an optimization problem by causing the oneor more processors to: associate, by an adaptive cataclysm controller, arespective unique token with each respective survivor candidate solutionof the population of candidate solutions following respective cataclysmssuch that each offspring of the each respective survivor candidatesolution is also associated with the respective token; determine, by theadaptive cataclysm controller, that the population of candidatesolutions has converged during a run of the genetic algorithm;determine, by the adaptive cataclysm controller, a cause for convergenceof the population based, at least in part, on an analysis of the run ofthe genetic algorithm; and quarantine, by the adaptive cataclysmcontroller, candidate solutions of the plurality of candidate solutionsthat are associated with the single token for a number of generationsbased, at least in part, on the cause for the convergence and a historyof the run of the genetic algorithm.
 20. The apparatus of claim 19,wherein the history of the run of the genetic algorithm comprises atleast one of a cataclysm count and a convergence rate, wherein theconvergence rate is indicated by at least one of a number of generationsbetween convergences and a number of convergences per a number ofgenerations.